import { Request } from 'express';

export interface IMachine {
  id: number;
  machineName: string;
  machineContent: string;
  machinePhotoPath: string;
  machineOwnerId: string;
  machineOwnerName: string;
  machineOwnerPhone: string;
  machineOwnerEmail: string;
  machineStatus: string;
  createdTime: string;
};

export interface IGetMachineByIdReq extends Request<{ id: IMachine['id'] }> { }
export interface IAddMachineReq extends Request { }
export interface IUpdateMachineReq extends Request<{ id: IMachine['id'] }, any> { }
export interface IDeleteMachineReq extends Request<{ id: IMachine['id'] }> { }